package com.xubeizhi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xubeizhi.common.ResponseResult;
import com.xubeizhi.entity.Photo;

import java.util.List;
import java.util.Map;

/**
 * @author mi
 * @create 2023/3/17 13:54
 */
public interface PhotoService extends IService<Photo>{

    ResponseResult listPhoto(Integer albumId);

    ResponseResult getPhotoById(Integer id);

    ResponseResult insertAlbum(Photo photo);

    ResponseResult updatePhoto(Photo photo);

    ResponseResult movePhoto(Map<String,Object> map);

    ResponseResult deleteBatch(List<Integer> ids);
}
